RetainedParseResultRecord

PackageReified.Schema
Functions for creating and rendering retained schema parse results.

Fields

NameTypeDescription
createRetainedParseResult.create input resultRetains structured data alongside an existing schema parse result.
renderErrorsRetainedParseResult.renderErrors parsedRenders one line for every failed schema issue.
ErrorsForthis.ErrorsForReturns schema errors attached exactly to the supplied structured data path.
ErrorsForthis.ErrorsForReturns schema errors attached exactly to the supplied path.
Valuethis.ValueReturns the parsed value or raises when input parsing failed.
Errorsthis.ErrorsReturns path-aware issues from a failed parse, or an empty list after a successful parse.
TryValuethis.TryValueReturns the parsed value when input parsing succeeded.
IsValidthis.IsValidReturns true when input parsing produced a trusted model.
InputInputThe structured boundary data that was parsed.
ResultResultThe parsed model or accumulated schema failures.